Automattic\Jetpack\Forms\ContactForm\Contact_Form D

Total Complexity 211
Dependencies 6
Dependents 3
Total lines 1,643
Lines of code 866
Logical lines of code 507
Comment lines 589
Methods 23
Properties 8

Methods 23

Method Rating Maintainability Complexity Lines of code
process_submission()
D
12
67 299
parse()
D
29
33 113
parse_contact_field()
B
40 23 51
__construct()
A
38 13 69
get_compiled_form()
A
40 12 57
get_compiled_form_for_email()
A
41 12 57
get_default_label_from_type()
A
46 12 41
get_field_ids()
A
47 11 37
store_shortcode()
S
60 6 12
addslashes_deep()
S
61 4 12
wrap_message_in_html_tags()
S
57 2 21
success_message()
S
56 2 19
get_block_alignment_class()
S
63 3 10
get_script_for_form()
S
65 1 17
add_name_to_address()
S
68 2 7
esc_shortcode_val()
S
63 1 11
remove_empty()
S
79 1 3
escape_and_sanitize_field_value()
S
74 1 4
wp_mail()
S
65 1 8
get_mail_content_type()
S
81 1 3
style_on()
S
79 1 3
add_plain_text_alternative()
S
67 1 7
style()
S
73 1 5